package com.example.elasticsearchhelpersample.repository.entity.result;

import org.pippi.elasticsearch.helper.core.beans.resp.BaseResp;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * AccountEntity
 *
 * @author JohenTeng
 * @date 2021/12/6
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccountEntity extends BaseResp.BaseHit {

	@JsonProperty(value = "account_number")
	private Integer accountNumber;

	private Integer balance;

	private String firstname;

	private String lastname;

	private Integer age;

	private String gender;

	private String address;

	private String employer;

	private String email;

	private String city;

	private String state;
}
